package com.zhitong.ztblog.services;

import com.zhitong.ztblog.entity.Label;

public interface ILabelService {

    public Label[] findAll();

    public Label findById(int id);

    public Label[] findByBid(int bid);

    public Label[] findByRand();

    public int findLabelNum();

    public int findBlogNumByLid(int lid);

    public void delLabelById(int id);

    public void insertLabel(Label label);

    public int findLabelNumByName(Label label);

    public Label findLabelByName(String name);

    public void bInsertLabelByName(int id,String name);

    public String[] findNamesByBid(int bid);

    public void deleteByBid(int bid);
}
